import axiosFun from "./index";


export default class request {
    static get(address, params) {
        return axiosFun({
            url: address,
            method: 'get',
            params,
        });
    }

    static post(address, data) {
        return axiosFun({
            url: address,
            method: 'post',
            data,
        });
    }
}